package lab02.test35;

/**
 * （1）经理（Manager）——每月获得一份固定的工资
 */
public class Manager extends Employee {

    double monthSalary;
    public Manager(String name,double monthSalary) {
        super(name);
        this.monthSalary=monthSalary;
    }

    @Override
    public double computeSalary() {
        return monthSalary;
    }
}
